package com.example.demo_text;

import java.sql.Timestamp;

public class Comment {
    private int commentId;
    private int ansId;
    private String commentContent;
    private Timestamp commentTime;

    public Comment() {
    }

    public Comment(int commentId, int ansId, String commentContent, Timestamp commentTime) {
        this.commentId = commentId;
        this.ansId = ansId;
        this.commentContent = commentContent;
        this.commentTime = commentTime;
    }

    public int getCommentId() {
        return commentId;
    }

    public void setCommentId(int commentId) {
        this.commentId = commentId;
    }

    public int getAnsId() {
        return ansId;
    }

    public void setAnsId(int ansId) {
        this.ansId = ansId;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }

    public Timestamp getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(Timestamp commentTime) {
        this.commentTime = commentTime;
    }
} 